﻿using EmoneyWeiXinBLL;
using EmoneyWeiXinCommon;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace EmoneyWeiXin.Controllers
{
    public class Active917Controller : Controller
    {
        //
        // GET: /Active917/

        public ActionResult Index()
        {
            return View();
        }
        /// <summary>
        /// 验证页面
        /// </summary>
        public ActionResult YzPage()
        {
            return View();
        }

        public string DoYZ()
        {
            string yzm = Request["yzm"];
            DataTable dt = UsersFor917BLL.GetUsersByYzm(yzm);
            var obj = new { isHave = dt.Rows.Count > 0 ? "1" : "0", list = dt };
            return JsonTools.ToJson(obj);
        }


    }
}
